package cn.knight.basic.constant;

public class BaseConstants {
    /* fastDFS服务器ip */
    public final static String FAST_DFS_IP = "123.207.27.208";

    /* 邮件发送人 */
    public final static String EMAIL_FROM = "1034379964@qq.com";

    // 发送短信验证码
    public class SmsConstant{
        public static  final String SMS_UID = "Photographer";

        public static  final String SMS_KEY = "31D08472FBAA6454EAAC8FB63E2E5821";
    }

    // 业务键
    public class VerifyCodeConstant{
        public static  final String BUSINESS_REGISTER_PREFIX = "reguster:";

        public static  final String BUSINESS_BINDER_PREFIX = "binder:";

        public static  final String BUSINESS_LOGIN_PREFIX = "login:";

        public static  final String BUSINESS_SHOPSETTLED_PREFIX = "shopsettled:";
    }

    public class WechatConstant{
        public static  final String APPID = "wxd853562a0548a7d0";

        public static  final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";

        public static  final String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";

        public static  final String WXUSER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
    }

}